import './App.css';
import Routers from "./router/index.jsx";
import store from './store/index.jsx'
import MyContext from './utils/myContext.jsx';
import React, { Suspense} from 'react';

// 富文本编辑器
import "react-quill/dist/quill.snow.css";

// 加载中
import Loading from '@/components/Loading/index.jsx'

function App() {
  return (
    <MyContext.Provider value={store}>
    <div className="App">
      <Suspense fallback={<Loading/>}>
        <Routers />
      </Suspense>
    </div>
  </MyContext.Provider>
  )
}

export default App
